package com.ruoyi.campus.dto;

import javax.validation.constraints.NotBlank;

/**
 * 小程序认证请求
 * 
 * @author campus-alarm
 * @date 2024-01-01
 */
public class MiniProgramAuthRequest {

    /** 微信登录凭证 */
    @NotBlank(message = "登录凭证不能为空")
    private String code;

    /** 用户昵称 */
    private String nickName;

    /** 用户头像 */
    private String avatarUrl;

    /** 性别：1男性，2女性，0未知 */
    private Integer gender;

    /** 城市 */
    private String city;

    /** 省份 */
    private String province;

    /** 国家 */
    private String country;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }
} 